home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / PROGRAMM / DB_CLIPP / 2614.ZIP / CL.ZIP / CL.TXT < prev   
Text File  |  1990-12-22  |  2KB  |  54 lines

  1. CL.BAT
  2. ------
  3.  
  4. A batch file to compile Clipper 5.0 .PRG files and link using the
  5. RTLINK supplied with Clipper 5.0.
  6.  
  7. I do not use a .CLP script file when compiling because I don't want
  8. all my source files compiled into one .OBJ file. Hence the need for
  9. this particular batch file. Page 3-2 of 'Clipper 5.0 Programming and
  10. Utilities Guide' briefly explains the use of compiler script files.
  11.  
  12. Consistent with the limitations of DOS, CL.BAT allows from zero to
  13. nine .PRG filenames to be passed as command line parameters. Each
  14. parameter, source filename, is passed to the Clipper compiler. If no
  15. command line parameters are passed, the batch file jumps to the
  16. ':link' label and a re-link is done. Compiler options at the end of
  17. line 4 may be changed to your liking. See pgs. 3-8 thru 3-11 of
  18. 'Clipper 5.0 Programming and Utilities Guide' for an explaination of
  19. Compiler Options.
  20.  
  21. Linking is done via the .LNK script file specified on line 11 and
  22. must be changed to reference your particular .LNK file. The name of
  23. the .LNK file must be proceded by a '@' character. See pg. 4-6 of
  24. 'Clipper 5.0 Programming and Utilities Guide' for an explaination of
  25. Script File Mode. An example .LNK file follows.
  26.  
  27.       verbose
  28.       fi pirs
  29.       fi adt
  30.       fi enter
  31.       fi vitals
  32.       fi io
  33.       fi kardex
  34.       fi epi
  35.       fi pass
  36.       fi dia
  37.       fi rs
  38.       li timer5
  39.       /pll:base50
  40.  
  41. An exit errorlevel of 1 or higher from either the Compiler or Linker
  42. will cause the batch file to jump to the appropriate label, beep and
  43. display an appropriate message.
  44.  
  45.  
  46. Happy Holidays from Tennessee!
  47.  
  48. P.K. Spence
  49. 76314,612
  50.  
  51.  
  52.  
  53.  
  54.